import { createApp } from 'vue'
import { createPinia } from 'pinia'

import App from './App.vue'
import router from './router'
import "./mock/sunxiaohui"
import "./mock/yqs"
import "./mock/index"
import "./mock/orderMock"
import "./mock/gy"
import * as echarts from 'echarts'

// import { Form, Field, CellGroup,Button  } from 'vant';

import * as ElementPlusIconsVue from '@element-plus/icons-vue'
const app = createApp(App)
app.config.globalProperties.$echarts = echarts
app.use(createPinia())
app.use(router)
// app.use(Form);
// app.use(Field);
// app.use(CellGroup);
// app.use(Button);

app.mount('#app')
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
      app.component(key, component)
    }